<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<style type="text/css">
		canvas {border: 1px solid black;}
	</style>
	<body>
		<canvas id="canvaS" width="500" height="500"></canvas>
	</body>
	<script type="text/javascript">
		window.onload=function(){
			var can=document.getElementById('canvaS');
			var pen=can.getContext('2d');
			
			
			pen.moveTo(1,1);
			pen.lineTo(200,200);
			pen.stroke();
			pen.moveTo(0,100);
			pen.lineTo(200,300);
			pen.strokeStyle='green';
			pen.stroke();
		}
	</script>
</html>
